package org.september.pisces.led;

import org.september.pisces.led.controller.LedController;
import lombok.Getter;

@Getter
public enum LedModulePermission {
    情报板展示(LedController.LED_publish, LedController.LED_ledList, LedController.LED_flashList,
            LedController.LED_listLed, LedController.LED_listPlan, LedController.LED_listFlash,
            LedController.LED_listArea, LedController.LED_addFlash, LedController.LED_addPlan,
            LedController.LED_editFlash, LedController.LED_design, LedController.LED_addLed,
            LedController.LED_choosePlan, LedController.LED_viewFlash, LedController.LED_getArea),

    ;

    private String name;
    private String[] urls;

    LedModulePermission(String... urls) {
        this.name = this.name();
        this.urls = urls;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setUrls(String[] urls) {
        this.urls = urls;
    }

}
